Ext.define('Jason.store.NavigationTree', {
    extend: 'Ext.data.TreeStore',
    storeId: 'NavigationTree',
    alias: 'store.NavigationTree',
    autoLoad : true,
    sorters:[{
       property:'order',
       direction:'ASC'
    }],
    defaultRootText:'导航：',//默认root显示字符

    fields : [
        {name:'text',mapping : 'showname'},
        {name:'iconCls',mapping : 'icon'},
        {name:'routeId',mapping:'extendtype'},
        {name:'view',mapping:'view'}
    ],
    proxy : {
        type : 'ajax',
        url : reqUrl.sys.initMenu
    },
    root: {
        text: '我是根'
    }
});